package com.springapp.mvc.dao.mapper;

import com.springapp.mvc.dao.bean.UserExample;
import com.springapp.mvc.dao.bean.UserKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    long countByExample(UserExample example);

    int deleteByExample(UserExample example);

    int deleteByPrimaryKey(UserKey key);

    int insert(UserKey record);

    int insertSelective(UserKey record);

    List<UserKey> selectByExample(UserExample example);

    int updateByExampleSelective(@Param("record") UserKey record, @Param("example") UserExample example);

    int updateByExample(@Param("record") UserKey record, @Param("example") UserExample example);
}